package com.sl.happying.reading.service;

import com.sl.happying.reading.bean.Chapter;
import com.sl.happying.reading.dao.ChapterDao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ChapterServiceImpl implements ChapterService{


    @Autowired
    private ChapterDao chapterDao;

    @Override
    public Chapter findByChapte(String novelName, String chapterName) {
        return chapterDao.findByChapterName(novelName, chapterName);
    }
}
